Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove UB sanitizer for linux to fix compilation for Alpine linux #29

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

akash-akya
Copy link
Owner

Alpine linux does not ship with -lubsan by default, which is needed for the compilation with -fsanitize=undefined flag.

A proper fix would be to dynamically check if the library exists and enabling the flag.
See: https://github.com/Snaipe/alpine-qemu-execve/blob/alpine-3.10/configure

Fixes: #28

Alpine linux does not ship with `-lubsan` by default, which
is needed for the compilation with `-fsanitize=undefined` flag.

Proper fix would be to dynamically check if the library exists and
enabling the flag.
See: https://github.com/Snaipe/alpine-qemu-execve/blob/alpine-3.10/configure
@akash-akya akash-akya marked this pull request as ready for review July 26, 2023 17:13
@akash-akya akash-akya merged commit 34b2660 into master Jul 26, 2023
8 of 10 checks passed
@akash-akya akash-akya deleted the dev branch July 26, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails to compile in Alpine
1 participant